package com.crx.springbootinit.model.dto.post;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="PostDto对象", description="帖子新增请求")
public class PostDto {
//    @ApiModelProperty(value = "用户id")
//    private Long userId;
    @ApiModelProperty(value = "图片列表")
    private String imageList;

    @ApiModelProperty(value = "线路")
    private String route;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "描述")
    private String description;

//    @ApiModelProperty(value = "距离")
//    private Integer distance;

    @ApiModelProperty(value = "发帖地址")
    private String address;
}
